package com.sloera.spring.beans.spel;

import lombok.Data;
import lombok.ToString;

/**
 * @author sloera
 * @create 2020/4/6
 */
@Data
@ToString
public class Person {
    private String name;
    private Car car;
    //引用 address bean 的 city 属性
    private String city;
    //根据 car 的 price 确定 info：car.price > 300000?金领：白领
    private String info;
}
